<script setup>
import { onLaunch, onShow, onHide } from '@dcloudio/uni-app';

onLaunch(() => {
	console.log('App Launch');
});

onShow(() => {
	console.log('App Show');
});

onHide(() => {
	console.log('App Hide');
});
</script>

<style>
	/*每个页面公共css */
	:root {
		--primary-color: #1d4ed8;
		--secondary-color: #3b82f6;
		--text-color: #333333;
		--text-secondary: #666666;
		--background-color: #f5f7fa;
		--border-color: #f0f0f0;
		--status-waiting: #f59e0b;
		--status-accepted: #10b981;
		--status-rejected: #ef4444;
		--status-completed: #6366f1;
	}

	page {
		font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
		background-color: var(--background-color);
		color: var(--text-color);
		font-size: 28rpx;
	}

	/* Safe area inset bottom for devices with notches */
	.safe-area-inset-bottom {
		padding-bottom: env(safe-area-inset-bottom);
	}
</style>
